home *** CD-ROM | disk | FTP | other *** search
- NextMacroPath = macro. pathFromMacro ( "GA Controller Added.nsm" )
- nextButton. setMacroPath ( NextMacroPath )
- TextBoxPath = macro. pathFromMacro ( "TextBox.txt" )
- SubtitleIndex = subtitleTextBox. setTextFromFile (TextBoxPath, 1)
- MainIndex = mainTextBox. setTextFromFile (TextBoxPath, 1)
-
- activeBreadboard. showOpenProbes ( TRUE )
- activeBreadboard. setAnimatePoint ( 7 , 220 )
- activeBreadboard. stampAndMove ( "Axon" , "axon" )
- activeBreadboard. setAnimatePoint ( 90 , 220 )
- activeBreadboard. stampAndMove ( "FullSynapse" , "fullSynapse" )
- activeBreadboard. setAnimatePoint ( 184 , 220 )
- activeBreadboard. stampAndMove ( "TanhAxon" , "tanhAxon" )
- activeBreadboard. setAnimatePoint ( 275 , 220 )
- activeBreadboard. stampAndMove ( "FullSynapse" , "fullSynapse1" )
- activeBreadboard. setAnimatePoint ( 372 , 220 )
- activeBreadboard. stampAndMove ( "TanhAxon" , "tanhAxon1" )
- activeBreadboard. setAnimatePoint ( 464 , 220 )
- activeBreadboard. stampAndMove ( "FullSynapse" , "fullSynapse2" )
- activeBreadboard. setAnimatePoint ( 554 , 220 )
- activeBreadboard. stampAndMove ( "TanhAxon" , "tanhAxon2" )
- activeBreadboard. setAnimatePoint ( 647 , 220 )
- activeBreadboard. stampAndMove ( "L2Criterion" , "criterion" )
-
- axon. connectTo ( "fullSynapse" )
- fullSynapse. connectTo ( "tanhAxon" )
- tanhAxon. connectTo ( "fullSynapse1" )
- fullSynapse1. connectTo ( "tanhAxon1" )
- tanhAxon1. connectTo ( "fullSynapse2" )
- fullSynapse2. connectTo ( "tanhAxon2" )
- tanhAxon2. connectTo ( "criterion" )
-
- activeBreadboard. stampOnAndMove ( "BackCriteriaControl" , "criterion" )
- activeBreadboard. stampOnAndMove ( "BackTanhAxon" , "tanhAxon2" )
- activeBreadboard. stampOnAndMove ( "BackTanhAxon" , "tanhAxon1" )
- activeBreadboard. stampOnAndMove ( "BackTanhAxon" , "tanhAxon" )
- activeBreadboard. stampOnAndMove ( "BackAxon" , "axon" )
- activeBreadboard. stampOnAndMove ( "BackFullSynapse" , "fullSynapse2" )
- activeBreadboard. stampOnAndMove ( "BackFullSynapse" , "fullSynapse1" )
- activeBreadboard. stampOnAndMove ( "BackFullSynapse" , "fullSynapse" )
- activeBreadboard. stampOnAndMove ( "Momentum" , "tanhAxon2Backprop" )
- activeBreadboard. stampOnAndMove ( "Momentum" , "fullSynapse2Backprop" )
- activeBreadboard. stampOnAndMove ( "Momentum" , "tanhAxon1Backprop" )
- activeBreadboard. stampOnAndMove ( "Momentum" , "fullSynapse1Backprop" )
- activeBreadboard. stampOnAndMove ( "Momentum" , "tanhAxonBackprop" )
- activeBreadboard. stampOnAndMove ( "Momentum" , "fullSynapseBackprop" )
- activeBreadboard. setAnimatePoint ( 6 , 200 )
- activeBreadboard. stampAndMove ( "StaticControl" , "control" )
- activeBreadboard. stampOnAndMove ( "BackStaticControl" , "control" )
-
- activeBreadboard. stampOnAndMove ( "File" , "axon" )
- file. setActiveAccessPoint ( "Pre-Activity" )
-
- class_trn_path = macro. pathFromMacro("class_train.txt")
- class_cv_path = macro. pathFromMacro("class_cv.txt")
- class_trndes_path = macro. pathFromMacro("class_des_train.txt")
- class_cvdes_path = macro. pathFromMacro("class_des_cv.txt")
-
- percentCorrectDLLPath = macro.pathFromMacro("MatrixViewerPercentCorrect.dll")
-
- file. addFile ( class_cv_path , FALSE )
- file. matchPEsWithColumns ( )
- file. addFile ( class_trn_path , FALSE )
- file. setActiveFileNameAndDataSet ( "class_cv.txt" , "Training" )
- file. setDataSetForActiveFile ( "Cross Validation" )
- file. translate ( )
- file. setLowerBound ( -1.000000 )
- activeBreadboard. stampOnAndMove ( "File" , "criterion" )
- file1. setActiveAccessPoint ( "Activity" )
- activeBreadboard. select ( "file1" , FALSE )
- file1. addFile ( class_cvdes_path , FALSE )
- file1. setDataSetForActiveFile ( "Cross Validation" )
- file1. addFile ( class_trndes_path , FALSE )
- file1. setActiveAccessPoint ( "Desired Signal" )
- file1. setLowerBound ( -1.000000 )
-
- file1. translate ( )
-
- fullSynapseBackpropGradient. setStepSize ( 1.000000 )
- tanhAxonBackpropGradient. setStepSize ( 1.000000 )
- fullSynapse2BackpropGradient. setStepSize ( 0.010000 )
-
- tanhAxon. setRows ( 10 )
- tanhAxon1. setRows ( 5 )
- axon. setRows (5)
- activeBreadboard. stampOnAndMove ( "MatrixViewer" , "criterion" )
- matrixViewer. setActiveAccessPoint ( "Cost" )
- matrixViewer. setActiveAccessPoint ( "Confusion Matrix (Totals)" )
- matrixViewer. setFixWindowTitle ( TRUE )
- matrixViewer. setWindowTitle ( "Classification Performance of Non-Optimized MLP" )
-
- matrixViewer. openEngineWindow ( )
- matrixViewer. tileWindow (2,3,4,5)
- //matrixViewer. moveEngineWindow ( 429 , 430 )
-
- control. setEpochs ( 250 )
- control. setXValDataSet ( "Cross Validation" )
- controlBackprop. setGradientClassName ( "Momentum" )
-
- activeBreadboard. stampOnAndMove ( "DataGraph" , "criterion" )
- dataGraph. setShowZeroOnYAxis ( TRUE )
- dataGraph. setFixWindowTitle ( TRUE )
- dataGraph. setWindowTitle ( "Non-Optimized MLP Learning Curve (Average Cost per Epoch)" )
- dataGraph. setActiveAccessPoint ( "Average Cost" )
- dataGraph. setAutoAdjustY ( FALSE )
- dataGraph. setMaxY ( 0.500000 )
- dataGraph. setWindowSize ( 250 )
- activeBreadboard. select ( "dataGraph" , FALSE )
- activeBreadboard. select ( "matrixViewer" , FALSE )
-
- dataGraph. openEngineWindow ( )
- dataGraph. tileWindow (1,3,3,3 )
- //dataGraph. moveEngineWindow ( 10, 430 )
-
- criterion. setAutoSave ( FALSE )
-
- activeBreadboard. setAnimatePoint ( 663 , 118 )
- activeBreadboard. stampAndMove ( "ButtonEngine" , "controlButton" )
- controlButton. setText ("Run")
- ControlMacroPath = macro. pathFromNS ( "Macros\reset&RunNetwork.nsm" )
- controlButton. setMacroPath ( ControlMacroPath )
- controlButton. setItalic ( TRUE )
- controlButton. setFontSize ( 18 )
- controlButton. setColor ( 255 , 0 , 0 )
-
- activeBreadboard. stampOnAndMove ( "DataWriter" , "matrixViewer" )
- activeBreadboard. stampOnAndMove ( "DLLPostprocessor" , "dataWriter" )
-
- dLLPostprocessor. setDLLName ( "MatrixViewerPercentWrong" , percentCorrectDLLPath )
- dLLPostprocessor. activateDLL ( TRUE )
-
- activeBreadboard. stampOnAndMove ( "DataGraph" , "dLLPostprocessor" )
- dataGraph1. setActiveAccessPoint ( "Stacked Access" )
- activeBreadboard. select ( "dataGraph1" , FALSE )
- dataGraph1. setActiveAccessPoint ( "Postprocessor Output" )
- dataGraph1. setFixWindowTitle ( TRUE )
- dataGraph1. setWindowTitle ( "Percentage Correct Classification" )
- dataGraph1. setWindowTitle ( "Percentage Correct Classification per Epoch" )
- dataGraph1. setWindowTitle ( "% Correct Classification of Non-Optimized MLP" )
- dataGraph1. setWindowSize ( 250 )
- dataGraph1. setShowZeroOnYAxis ( TRUE )
- dataGraph1. setAutoAdjustY ( FALSE )
- dataGraph1. setMaxY ( 100.000000 )
- dataGraph1. setMinY ( 50.000000 )
- dataGraph1. setXAxisAsEpochs ( )
- dataGraph1. openEngineWindow ( )
- dataGraph1. tileWindow(2,3,4,4)
- dataGraph. setShowLabels ( FALSE )
- dataGraph1. setShowLabels ( FALSE )